package server

import "context"

type LoginServerImpl struct{}

func (l *LoginServerImpl) Login(ctx context.Context, req *LoginReq) (*LoginRes, error) {
	if req.Username == "root" && req.Password == "123456" {
		return &LoginRes{
			Msg: "true",
		}, nil
	} else {
		return &LoginRes{Msg: "false"}, nil
	}
}
